#ifndef QSEARCHRESULT_H
#define QSEARCHRESULT_H

#include <QWidget>
#include "qbdditem.h"
#include "ui_qsearchresult.h"

class QSearchResult : public QWidget
{
	Q_OBJECT

public:
	QSearchResult(QBDDItem* item,QWidget *parent = 0);
	~QSearchResult();

public slots:
	void deployChanged();
	void validResultPart();

signals:
	void partSelected(const QStringList& items);
private:
	QString rawToFormated(QString raw) const;
	QString formatedToRaw(QString formated) const;
	void hideResume();
	void showResume();

	Ui::QSearchResultClass ui;
	QBDDItem* m_item;

	bool m_hide;
};

#endif // QSEARCHRESULT_H
